package top.infopub.mgr.adm.dao;


import top.infopub.generic.GenericDao;
import top.infopub.mgr.adm.domain.BorrowRecordDomain;
import top.infopub.mgr.adm.vo.BorrowRecordVo;
import top.infopub.model.adm.BorrowRecord;

import com.github.pagehelper.Page;


/** 档案借阅申请(ADM_BORROW_RECORD) **/
public interface BorrowRecordDao extends GenericDao<BorrowRecord, String> {

    /**
     * 根据条件查询档案借阅申请记录
     * @param BorrowRecordVo
     * @return 
     * @see
     */
    Page<BorrowRecordDomain> selectByDomainWhere(BorrowRecordVo borrowRecordVo);

    /**
     * 根据条件查询档案借阅申请记录--我审批的列表
     * @param BorrowRecordVo
     * @return 
     * @see
     */
    Page<BorrowRecordDomain> selectMyCheckByDomainWhere(BorrowRecordVo borrowRecordVo);
    
    /**
     * 详情
     */
    BorrowRecordVo queryById(String id);
    
    /**
     * 新增
     */
    void insertById(BorrowRecord borrowRecord);

}